/**
 * 2017年3月9日
 */
package cn.edu.bjtu.alex.rewrite;

import cn.edu.bjtu.alex.rewrite.components.IDFModelTransformer;
import cn.edu.bjtu.alex.rewrite.components.TFModelTransformer;
import cn.edu.bjtu.alex.rewrite.components.TransformOutputing;

/**
 * @author Alex
 *
 */
public class TransformDriver {
	Context ctx ;
	public TransformDriver(Context ctx){
		this.ctx = ctx;
	}
	public void transform(){
		LifeCycle lc1 = new TFModelTransformer(ctx);
		LifeCycle lc2 = new IDFModelTransformer(ctx);
		LifeCycle lc3 = new TransformOutputing(ctx);
		
		lc1.transform();
		lc2.transform();
		lc3.transform();
	}
	
	public static void main(String args[]){
		Context ctx = new Context("D:\\userData1","E:\\var\\out");
		new TrainDriver(ctx).fit();
	}
}
